/*
        PUBLIC
*/
::selection {
  background:$black-1;
  color:#fff;
}

.pr{
  position: relative;
}
.fr{
  float: right;
}
.fl{
  float: left;
}
.w100{
  width: 100%;
}
.font-rem-1-6{
  font-size: 1.6rem !important;
}
.font-rem-1-8{
  font-size: 1.8rem !important;
}
.font-rem-2-4{
  font-size: 2.4rem !important;
}
.has-hr{
  @include has-hr;
}
.uppercase{
  text-transform: uppercase;
}
.padding-left-10{
  padding-left: 10px;
}
.black-2{
  color: $black-2;
}
.PTSerif{
  font-family: 'PT Serif', Helvetica, Arial, serif;
}
.OpenSans{
  font-family: 'Open Sans',Helvetica, Arial, serif;
}
.division{
  .division-item{
    &:after{
      content:'|';
      margin-left: 10px;
    }
  }
}
.table-cell{
  display: table-cell!important;
}

.text-ellipsis{
  text-overflow: ellipsis;
  white-space: nowrap;
}
.addon-right-transparent{
  >i{
    background: #fff\9;
    background: transparent;
  }
  >.form-control{
    border-right-width:0;
    &:focus{
      border-color: #ccc;
    }
  }
}

.section-bg{
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  background-repeat: no-repeat;
  background-position: center center;
}
/*  commodity-list-group  */
.commodity-list-group{
  .item-img{
    width: 100%;
    height: 100%;
  }
  .list-group-item{
    border-color: #fff;
    padding:0 10px 30px;
  }
  .item-img-link{
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
    text-align: center;
    max-width: 250px;
    margin: 0 auto;
    &:hover{
      >.item-img-link-hover{
        visibility: visible;
        height: 36px;
        opacity:1;
      }
    }
  }
  .content-describe-title{
    margin-top: 20px;
  }
  .content-describe-price{
    margin-top: 10px;
    padding-bottom: 10px;
  }
  .item-img-link-hover{
    visibility: hidden;
    opacity:0;
    position: absolute;
    bottom: 0;
    color: #fff;
    background: rgba(0,0,0,0.5);
    width: 100%;
    height: 0;
    transition: height 145ms,opacity 100ms ease;
    >.btn{
      &:hover{
        color: $pink;
      }
    }
  }
}
/*  end commodity-list-group  */


/*COLOR*/
.color-pink{
  color: $pink;
}
.color-success{
  color: $color-success;
}
.color-error{
  color: $color-error;
}
/*
        NAV
*/
.navbar-right .label{
  padding:.1em .4em;
}
.nav-style-1{
  @extend .PTSerif;
  font-size: 2.4rem;
  margin-bottom: 10px;
  span{
    border-bottom:2px solid transparent;
  }
  .active{
    a{
      color: $black-1;
    }
    span{
      border-color: $black-1;
      display: inline-block;
      padding: 10px;
    }
  }
  a{
    color: $black-2;
  }
}
.nav-pills-blank{
  @extend .PTSerif;
  font-size: 1.6rem;
  margin-bottom: 10px;

  span{
    border-bottom:2px solid transparent;
  }
  li.active{
    >a{
      color: $pink;
      &:hover,&:focus{
        color: $pink;
      }
    }
    span{
      border-color: $pink;
      display: inline-block;
    }
  }
  a{
    color: $black-2;
  }
}
.navbar-fill-center{
  min-height: 40px;
  background-color: #e6e9ed;
  margin-bottom: 5px;
  .navbar-nav{
    margin:0;
  }
  .nav{
    font-size: 1.6rem;
    >li>a{
      padding-top: 10px;
      padding-bottom: 10px;
    }
  }
  a{
    color: $black-1;

  }
  .active{
    background-color: $pink;
    a{
      color: #fff;
    }
  }
}
/*
        END　NAV
*/
/*
          FORM
*/
.form-group-margin{
  .form-group{
    margin-right: 12px;
  }
}
.input-form{
  .form-group{
    border-bottom:2px solid $input-border-color;
  }
}
.input{
  border:none;
  background: #fff\9;
  background: transparent;
  @extend .OpenSans;
  margin-top: 50px;
  margin-bottom: 10px;
  font-size: 1.8rem;
  box-shadow: none;
}
.form-control{
  box-shadow: none;
}

select.form-control,select{
  appearance:none;
  -moz-appearance:none;
  -webkit-appearance:none;
}
.select-caret{
  position: absolute;
  right:11px;
  text-align: center;
  width: 38px;
  height: 38px;
  top: 0;
  bottom: 0;
  margin: auto;
  font-size: 2.6rem;
  line-height: 38px;
  background: #fff;
  border-radius: 4px;
}
.form-control:-webkit-autofill, textarea:-webkit-autofill, select:-webkit-autofill{
  -webkit-box-shadow: 0 0 0 1000px white inset;
  outline:none;
}
select.form-control:focus,input.form-control:focus, textarea.form-control:focus {
  -webkit-box-shadow: 0 0 0 1000px white inset,0 0 10px 1px rgba(0,0,0,.1);
  border-color: #ccc;
}
.form-control-clean{
  border:none;
  box-shadow: none;
  &:focus{
    box-shadow: none;
    border-color: transparent;
  }
}
.form-radius{
  .form-control{
    border-radius: 4px;
  }
}
.control-label{
  line-height: 40px;
  margin-bottom: 0;
}
.setting-content{
  .control-label,.form-control{
    font-size: 1.6rem;
  }
}
.has-addon{
  .form-control{
    display: block!important;
  }
  .input-group-addon{
    display: block;
    position: absolute;
    height: 40px;
    top: 0;
    right: 10px;
    line-height: 38px;
    padding: 0 12px;
    text-align: center;
    width: auto;
    border-radius: 0 4px 4px 0;
  }
}
.error{
  color: $color-error;
}
/*
        END　FORM
*/
/*
          BTN
*/
.btn-lg{
  font-size: 2.4rem;
  height: 60px;
}
.btn{
  border:2px solid transparent;
  -webkit-transition: background 200ms ,color 260ms ;
  -moz-transition: background 200ms ,color 260ms ;
  -ms-transition: background 200ms ,color 260ms ;
  -o-transition: background 200ms ,color 260ms ;
  transition: background 200ms ,color 260ms ;
}
.btn-fill-default{
  background: #333;
  color: #fff;
  &:hover,&:focus,&.focus{
    color: #333;
    background: #fff;
    border-color: #333;
  }
}
.btn-fill-primary{
  background: $pink;
  color: #fff;
  &:hover,&:focus,&.focus{
    color: $pink;
    background: #fff\9;
    background: transparent;
    border-color: $pink;
  }
}
.btn-stroke-white{
  @include btn-stroke;
}
.btn-clean{
  background: #fff;
  background: transparent;
  &:active,&.active{
    box-shadow: none;
  }
  &:focus{
    outline: none;
  }
}

@mixin btn-animate-fade($color){
  &.btn{
    &:hover,&:focus,&.focus{
      color:#fff;
      background: lighten($color,8%);
      border-color: lighten($color,8%);
    }
  }
}
.btn-fill-default.btn-animate-fade{
  @include btn-animate-fade($black-1);
}
.btn-fill-primary.btn-animate-fade{
  @include btn-animate-fade($pink);
}
/*
        END BTN
*/
.not-underline{
  &:hover,&:focus,&:active,&{
    text-decoration: none;
  }
}

/*
        PAGE
*/
.lostPassword{
  @extend .not-underline;
}
.no_found{
  color: #adadad;
  margin-top: 60px;
  padding-bottom: 100px;
}

/*LABEL*/
.label{
  border-radius: 0;
  font-size: 1.6rem;
  font-weight: 400;
}
.label-success{
  background-color: $pink;
}

/*DROPDOWN*/
.dropdown-right{
  .dropdown-menu{
    right: 0;
    left: auto;
  }
}
/*
    ICON
*/
.icon-help{
  display: inline-block;
  width: 24px;
  height: 24px;
  text-align: center;
  background-color: $black-3;
  color: #fff;
  border-radius: 50%;
  line-height: 24px;
  font-weight:400;
  font-size: 1.5rem;
}
.icon-times{
  &:hover{
    opacity: 0.8;
  }
  &:after{
    display: inline-block;
    width: 26px;
    height: 26px;
    content:"";
    background-position: 50% 100%;
    background-repeat: no-repeat;
    background-image: url("../../images/icon/times.png");
    background-image: url("../../images/svg/times.svg");
    background-size: 24px auto;
    position: relative;
    top: 2px;
  }
}
/*
  END  ICON
*/
/*datepicker*/
.ui-datepicker-header{
  overflow: hidden;
  text-align: center;
}

.ui-datepicker-prev{
  float: left;
}
.ui-datepicker-next{
  float: right;
}
.ui-state-hover.ui-datepicker-prev,.ui-state-hover.ui-datepicker-next{
  background-color: #fff;
  color: $pink;
  border:none;
  cursor: pointer;
}
.ui-datepicker-current,.ui-datepicker-close{
  padding: 5px 12px;
}
.ui-datepicker-current{
  float: left;
}
.ui-datepicker-close{
  float: right;
}
.ui-datepicker-today{
  >a.ui-state-default.ui-state-highlight{
    background: $color-success;
    color: #fff;
    border-color: #fff;
  }
}
.ui-datepicker{
  display: none;
  &.ui-widget-content{
    border: 1px solid #d2d2d2;
  }
  padding: 10px;
  .ui-datepicker-buttonpane{
    overflow: hidden;
    zoom: 1;
  }
  th{
    padding: 10px;
  }
  .ui-state-default{
    padding: 6px 10px;
    display: block;
    &:hover{
      text-decoration: none;
    }
  }

}

.a-clean{
  &:focus{
    outline:none;
  }
}
/*bootstrap switch*/
.bootstrap-switch{
  .controls>&{
    border-color: #fff;
  }
  &:focus{
    outline: none;
  }
}

/*thumbnail-clean*/
.thumbnail-clean{
  padding: 0;
  border-width:0;
}
.thumbnail-sm{
  margin-bottom: 35px;
  .thumbnail-author{
    color: $black-2;
    margin-top: 15px;
    margin-bottom: 10px;
  }
  .thumbnail-title{
    font-size: 1.8rem;
    @include text-ellipsis;
  }
  .thumbnail-date{
    margin-top: 10px;
    margin-bottom: 25px;
    font-size: 1.4rem;
    &:after{
      content:'';
      display: block;
      width: 50px;
      height: 2px;
      position: relative;
      top: 8px;
      left: 0;
      background: $pink;
    }
  }
  .thumbnail-content{
    height: 90px;
    overflow: hidden;
    margin-top: 0;
    margin-bottom: 0;
  }
}

/*carousel-indicators*/
.dashed-carousel-indicators{
  position: relative;
  bottom:auto;
  >li{
    width: 25px;
    height: 5px;
    background: #d2d2d2;
    border-radius: 0;
    border:none;
    margin: 0;
  }
  >li.active{
    width: 25px;
    height: 5px;
    background: $pink;
  }
}
.number-carousel-indicators{
  position: absolute;
  right:1.6%;
  top: 50%;
  margin-top:-50px;
  list-style: none;
  z-index: 2;
  >li.active{
    width: 30px;
    height: 30px;
    background-color: $black-1;
    text-align: center;
    margin-top: 5px;
    margin-bottom: 5px;
    &:before{
      content:"";
      display: block;
      width: 10px;
      height: 1px;
      background-color: $black-1;
      position: relative;
      top: 15px;
      left: -9px;

    }
  }
  >li{
    height: 30px;
    line-height: 30px;
    color: #fff;
    font-size: 1.6rem;
    text-align: right;
  }
}